using System;

/// <summary>
/// Summary description for UserProfile
/// </summary>
/// 
namespace CE.CarInsurance
{
    public class CarClaimHistory
    {
        public CarClaimHistory()
        {
            //
            // TODO: Add constructor logic here
            //
            ClearFields();
        }

        private Int64 _carclaimid;
        private Int64 _cecarid;
        private byte _noclast3;
        private string _noclast3value;
        private byte _noclast2;
        private string _noclast2value;
        private byte _noclast1;
        private string _noclast1value;
        private Int64 _refceuserid;
        private Int64 _vieweddetailid;
        //common field name
        private string _status;
        private DateTime _createddate;
        private DateTime _modifieddate;

        //extra field for future extend
        private string _info1;
        private string _info2;
        private string _info3;
        private string _info4;
        private string _info5;
        private string _info6;
        private string _info7;
        private string _info8;
        private string _info9;
        private string _info10;

        public Int64 CarClaimId
        {
            get { return _carclaimid; }
            set { _carclaimid = value; }
        }

        public Int64 CECarId
        {
            get { return _cecarid; }
            set { _cecarid = value; }
        }

        public byte NoOfClaimInLast3Year
        {
            get { return _noclast3; }
            set { _noclast3 = value; }
        }

        public string Last3YearClaimValue
        {
            get { return _noclast3value; }
            set { _noclast3value = value; }
        }

        public byte NoOfClaimInLast2Year
        {
            get { return _noclast2; }
            set { _noclast2 = value; }
        }

        public string Last2YearClaimValue
        {
            get { return _noclast2value; }
            set { _noclast2value = value; }
        }

        public byte NoOfClaimInLast1Year
        {
            get { return _noclast1; }
            set { _noclast1 = value; }
        }

        public string Last1YearClaimValue
        {
            get { return _noclast1value; }
            set { _noclast1value = value; }
        }

        public Int64 RerCEUserId
        {
            get { return _refceuserid; }
            set { _refceuserid = value; }
        }

        public Int64 ViewedDetailId
        {
            get { return _vieweddetailid; }
            set { _vieweddetailid = value; }
        }

        public string Status
        {
            get { return _status; }
            set { _status = value; }
        }

        public DateTime CreatedDate
        {
            get { return _createddate; }
            set { _createddate = value; }
        }

        public DateTime ModifiedDate
        {
            get { return _modifieddate; }
            set { _modifieddate = value; }
        }

        public string Info1
        {
            get { return _info1; }
            set { _info1 = value; }
        }

        public string Info2
        {
            get { return _info2; }
            set { _info2 = value; }
        }

        public string Info3
        {
            get { return _info3; }
            set { _info3 = value; }
        }

        public string Info4
        {
            get { return _info4; }
            set { _info4 = value; }
        }

        public string Info5
        {
            get { return _info5; }
            set { _info5 = value; }
        }

        public string Info6
        {
            get { return _info6; }
            set { _info6 = value; }
        }

        public string Info7
        {
            get { return _info7; }
            set { _info7 = value; }
        }

        public string Info8
        {
            get { return _info8; }
            set { _info8 = value; }
        }

        public string Info9
        {
            get { return _info9; }
            set { _info9 = value; }
        }

        public string Info10
        {
            get { return _info10; }
            set { _info10 = value; }
        }

        public void ClearFields()
        {
            _carclaimid = 0;
            _cecarid = 0;
            _noclast3 = 0;
            _noclast3value = "";
            _noclast2 = 0;
            _noclast2value = "";
            _noclast1 = 0;
            _noclast1value = "";
            _refceuserid = 0;
            _vieweddetailid = 0;
            //common field name
            _status = "";
            _createddate = new DateTime();
            _modifieddate = new DateTime();

            //extra field for future extend
            _info1 = "";
            _info2 = "";
            _info3 = "";
            _info4 = "";
            _info5 = "";
            _info6 = "";
            _info7 = "";
            _info8 = "";
            _info9 = "";
            _info10 = "";
        }

    }
}
